package com.lge.clock.alarmclock;

import android.widget.Toast;

/**
 * @author LGE Cappuccino
 */
public class ToastMaster {

    private static Toast sToast = null;

    private ToastMaster() {

    }

    public static void setToast(Toast toast) {
        if (sToast != null) sToast.cancel();
        sToast = toast;
    }

    /**
     * Method cancelToast.
     */
    public static void cancelToast() {
        if (sToast != null) sToast.cancel();
        sToast = null;
    }
}
